package com.tcm.smarthealth.service.ai;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;

public class AiInsight {

    private String answer;
    private String diagnosis;
    private List<String> suggestions = Collections.emptyList();
    private BigDecimal confidence = BigDecimal.ZERO;

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public List<String> getSuggestions() {
        return suggestions;
    }

    public void setSuggestions(List<String> suggestions) {
        this.suggestions = suggestions != null ? suggestions : Collections.emptyList();
    }

    public BigDecimal getConfidence() {
        return confidence;
    }

    public void setConfidence(BigDecimal confidence) {
        this.confidence = confidence != null ? confidence : BigDecimal.ZERO;
    }
}

